#!/bin/sh
# https://www.embeddedarm.com/about/resource.php?item=410#runonbootup
# /etc/init.d/start_roque
# 01.) chmod +x /etc/init.d/start-roque
# 02.) ln -sf /etc/init.d/start-roque /etc/rc2.d/S99start-roque

echo -n "Starting DHCP..."
dhclient
echo "done."

echo -n "Loading module ftdi_sio.ko..."
insmod /home/dms/ftdi_sio.ko
echo "done."

echo -n "Starting get_readings.py..."
nohup python /home/dms/roque/startup.py &
sleep 1
echo "done."

#echo -n "Starting wget_mv_tblp.py..."
#nohup python /home/dms/tblp/wget_mv_tblp.py &
#sleep 1
#echo "done."

